﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sc.Domain
{
    /// <summary>
	/// Car_UseCarApplication:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
    [Serializable]
    public partial class Car_UseCarApplication
    {
        #region Model
        private int _id;
        private string _startaddress;
        private string _endaddress;
        private DateTime _starttime;
        private int _totalcount;
        private string _remark;
        private int _instancestate;
        private bool _iscomplaint;
        private int _complaintstate;
        private string _approalusers;
        private int _nodecount;
        private bool _bussinessstate;
        private int _userId;
        private decimal _zcTonnage;

        
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 起点
        /// </summary>
        public string StartAddress
        {
            set { _startaddress = value; }
            get { return _startaddress; }
        }
        /// <summary>
        /// 终点
        /// </summary>
        public string EndAddress
        {
            set { _endaddress = value; }
            get { return _endaddress; }
        }
        /// <summary>
        /// 用车时间
        /// </summary>
        public DateTime StartTime
        {
            set { _starttime = value; }
            get { return _starttime; }
        }
        /// <summary>
        /// 人数
        /// </summary>
        public int TotalCount
        {
            set { _totalcount = value; }
            get { return _totalcount; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 流程状态
        /// </summary>
        public int InstanceState
        {
            set { _instancestate = value; }
            get { return _instancestate; }
        }
        /// <summary>
        /// 是否申诉流程
        /// </summary>
        public bool IsComplaint
        {
            set { _iscomplaint = value; }
            get { return _iscomplaint; }
        }
        /// <summary>
        /// 申诉状态
        /// </summary>
        public int ComplaintState
        {
            set { _complaintstate = value; }
            get { return _complaintstate; }
        }
        /// <summary>
        /// 审批人
        /// </summary>
        public string ApproalUsers
        {
            set { _approalusers = value; }
            get { return _approalusers; }
        }
        /// <summary>
        /// 流程节点数
        /// </summary>
        public int NodeCount
        {
            set { _nodecount = value; }
            get { return _nodecount; }
        }
        /// <summary>
        /// 是否被申诉
        /// </summary>
        public bool BussinessState
        {
            set { _bussinessstate = value; }
            get { return _bussinessstate; }
        }
        /// <summary>
        /// 申请人
        /// </summary>
        public int UserId
        {
            set { _userId = value; }
            get { return _userId; }
        }
        /// <summary>
        /// 预计返程日期
        /// </summary>
        public DateTime ExDate { get; set; }
        /// <summary>
        /// 用车事由
        /// </summary>
        public string Reson { get; set; }
        /// <summary>
        /// 载重吨位
        /// </summary>
        public decimal ZcTonnage
        {
            get { return _zcTonnage; }
            set { _zcTonnage = value; }
        }
        /// <summary>
        /// 原状态
        /// </summary>
        public int OldState { get; set; }
        #endregion Model
    }
}
